import { Result } from 'antd-mobile'
import React, { FC } from 'react'
import { useSearchParams } from 'react-router-dom'
import MyHead from '../../components/MyHead'

const PayOrder:FC<any> = () => {
    const [searchParams] = useSearchParams()  //获取当前位置的 URL 中的查询字符串
  console.log(searchParams);
  
    return (
    <div>
         <MyHead title={'商品结算' } />
         {searchParams.get('amount') }
        
    </div>
  )
}

export default PayOrder